import request from '../index.js';
import { stringify } from 'qs';


// 订单列表
export const ordersList = (data) => {
	return request({
		url: `/api/junwei.Order/list?${stringify(data)}`,
		method: 'get'
	})
}

// 退款
export const ordersReturn = (data) => {
	return request({
		url: `/api/junwei.Order/applyRefund`,
		method: 'post',
		data
	})
}
